'****************************************************************************'
'                                                                            '
' Copyright (C) 2010 Muhammad alaa                                           '
'                                                                            '
' This program is free software; you can redistribute it and/or modify       '
' it under the terms of the GNU General Public License as published by       '
' the Free Software Foundation; either version 2 of the License, or          '
' (at your option) any later version.                                        '
'                                                                            '
' This program is distributed in the hope that it will be useful,            '
' but WITHOUT ANY WARRANTY; without even the implied warranty of             '
' MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the              '
' GNU General Public License for more details.                               '
'                                                                            '
' You should have received a copy of the GNU General Public License along    '
' with this program; if not, write to the Free Software Foundation, Inc.,    '
' 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.                '
'                                                                            '
'****************************************************************************'

Namespace HResults

    ' FACILITY_CONTROL = 0x0A (10)
    Public NotInheritable Class Control
        Private Sub New()
        End Sub

        Public Shared ReadOnly STATUS_CTX_WINSTATION_NAME_INVALID As HResult = &HC00A0001
        Public Shared ReadOnly STATUS_CTX_INVALID_PD As HResult = &HC00A0002
        Public Shared ReadOnly STATUS_CTX_PD_NOT_FOUND As HResult = &HC00A0003
        Public Shared ReadOnly STATUS_CTX_CDM_CONNECT As HResult = &H400A0004
        Public Shared ReadOnly STATUS_CTX_CDM_DISCONNECT As HResult = &H400A0005
        Public Shared ReadOnly STATUS_CTX_CLOSE_PENDING As HResult = &HC00A0006
        Public Shared ReadOnly STATUS_CTX_NO_OUTBUF As HResult = &HC00A0007
        Public Shared ReadOnly STATUS_CTX_MODEM_INF_NOT_FOUND As HResult = &HC00A0008
        Public Shared ReadOnly STATUS_CTX_INVALID_MODEMNAME As HResult = &HC00A0009
        Public Shared ReadOnly STATUS_CTX_RESPONSE_ERROR As HResult = &HC00A000A
        Public Shared ReadOnly STATUS_CTX_MODEM_RESPONSE_TIMEOUT As HResult = &HC00A000B
        Public Shared ReadOnly STATUS_CTX_MODEM_RESPONSE_NO_CARRIER As HResult = &HC00A000C
        Public Shared ReadOnly STATUS_CTX_MODEM_RESPONSE_NO_DIALTONE As HResult = &HC00A000D
        Public Shared ReadOnly STATUS_CTX_MODEM_RESPONSE_BUSY As HResult = &HC00A000E
        Public Shared ReadOnly STATUS_CTX_MODEM_RESPONSE_VOICE As HResult = &HC00A000F
        Public Shared ReadOnly STATUS_CTX_TD_ERROR As HResult = &HC00A0010
        Public Shared ReadOnly STATUS_CTX_LICENSE_CLIENT_INVALID As HResult = &HC00A0012
        Public Shared ReadOnly STATUS_CTX_LICENSE_NOT_AVAILABLE As HResult = &HC00A0013
        Public Shared ReadOnly STATUS_CTX_LICENSE_EXPIRED As HResult = &HC00A0014
        Public Shared ReadOnly STATUS_CTX_WINSTATION_NOT_FOUND As HResult = &HC00A0015
        Public Shared ReadOnly STATUS_CTX_WINSTATION_NAME_COLLISION As HResult = &HC00A0016
        Public Shared ReadOnly STATUS_CTX_WINSTATION_BUSY As HResult = &HC00A0017
        Public Shared ReadOnly STATUS_CTX_BAD_VIDEO_MODE As HResult = &HC00A0018
        Public Shared ReadOnly STATUS_CTX_GRAPHICS_INVALID As HResult = &HC00A0022
        Public Shared ReadOnly STATUS_CTX_NOT_CONSOLE As HResult = &HC00A0024
        Public Shared ReadOnly STATUS_CTX_CLIENT_QUERY_TIMEOUT As HResult = &HC00A0026
        Public Shared ReadOnly STATUS_CTX_CONSOLE_DISCONNECT As HResult = &HC00A0027
        Public Shared ReadOnly STATUS_CTX_CONSOLE_CONNECT As HResult = &HC00A0028
        Public Shared ReadOnly STATUS_CTX_SHADOW_DENIED As HResult = &HC00A002A
        Public Shared ReadOnly STATUS_CTX_WINSTATION_ACCESS_DENIED As HResult = &HC00A002B
        Public Shared ReadOnly STATUS_CTX_INVALID_WD As HResult = &HC00A002E
        Public Shared ReadOnly STATUS_CTX_WD_NOT_FOUND As HResult = &HC00A002F
        Public Shared ReadOnly STATUS_CTX_SHADOW_INVALID As HResult = &HC00A0030
        Public Shared ReadOnly STATUS_CTX_SHADOW_DISABLED As HResult = &HC00A0031
        Public Shared ReadOnly STATUS_RDP_PROTOCOL_ERROR As HResult = &HC00A0032
        Public Shared ReadOnly STATUS_CTX_CLIENT_LICENSE_NOT_SET As HResult = &HC00A0033
        Public Shared ReadOnly STATUS_CTX_CLIENT_LICENSE_IN_USE As HResult = &HC00A0034
        Public Shared ReadOnly STATUS_CTX_SHADOW_ENDED_BY_MODE_CHANGE As HResult = &HC00A0035
        Public Shared ReadOnly STATUS_CTX_SHADOW_NOT_RUNNING As HResult = &HC00A0036
        Public Shared ReadOnly STATUS_CTX_LOGON_DISABLED As HResult = &HC00A0037
        Public Shared ReadOnly STATUS_CTX_SECURITY_LAYER_ERROR As HResult = &HC00A0038
        Public Shared ReadOnly STATUS_TS_INCOMPATIBLE_SESSIONS As HResult = &HC00A0039
    End Class

End Namespace